package com.ruoyi.common.core.pay;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "alipay")
@RefreshScope //动态刷新配置
public class AlipayConfig {
//    @Value("${alipay.appId}")
	private String appId;
    
//    @Value("${alipay.privateKey}")
	private String privateKey;
    
//    @Value("${alipay.alipayPublicKey}")
	private String alipayPublicKey;
    
//    @Value("${alipay.appCertPath}")
	private String appCertPath;
    
//    @Value("${alipay.alipayPublicCertPath}")
	private String alipayPublicCertPath;
    
//    @Value("${alipay.rootCertPath}")
	private String rootCertPath;
    
//    @Value("${alipay.isTest}")
	private Boolean isTest;
    
//    @Value("${alipay.callbackUrl}")
	private String callbackUrl;
}
